import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/Home.vue';
import About from '../views/About.vue';

const routes = [
    {
        path: '/',
        name: 'SubAppBHome',
        component: Home,
    },
    {
        path: '/about',
        name: 'SubAppBAbout',
        component: About,
    },
];

const router = createRouter({
    // history: createWebHistory(import.meta.env.BASE_URL),
    history: createWebHistory('/sub-app-b'),
    routes,
});

export default router;



